package dataservice.coursedataservice;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import po.*;

public interface CourseDataService extends Remote{
	public void init() throws RemoteException;

	public void finish() throws RemoteException;

	public boolean insert(CoursePO po) throws RemoteException;

	public boolean delete(String courseId) throws RemoteException;

	public boolean update(CoursePO po) throws RemoteException;

	public ArrayList<CoursePO> find(Institute institute) throws RemoteException;

}
